package Controller
{
	import Model.SolidComponent;

	public class SolidComponentController
	{
		public function SolidComponentController()
		{
		}
		
		public function updateSolidComponentDescription(description:String, solidComponent:SolidComponent):void
		{
			solidComponent.description = description;
		}
		
		public function updateSolidComponentId(id:String, solidComponent:SolidComponent):void
		{
			solidComponent.id = id;
		}
		
		public function updateSolidComponentQuantity(qty:Number,solidComponent:SolidComponent):void
		{
			solidComponent.quantity = qty;
		}
		
		public function updateSolidComponentLength(length:Number , solidComponent:SolidComponent):void
		{
			solidComponent.length = length;
		}
		
		public function updateSolidComponentHeight(height:Number, solidComponent:SolidComponent):void
		{
			solidComponent.height = height;
		}
		
		public function updateSolidComponentEstimation(estimation:Number, solidComponent:SolidComponent):void
		{
			solidComponent.estimation = estimation;
		}
	}
}